package com.whpost.api.utils;

import cn.dev33.satoken.stp.StpUtil;
import com.github.stuxuhai.jpinyin.PinyinHelper;
import com.whpost.service.entity.t.TCzy;
import com.whpost.service.tools.Url;
import org.slf4j.LoggerFactory;

import java.io.ByteArrayOutputStream;
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.time.temporal.IsoFields;
import java.time.temporal.TemporalAdjusters;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.Random;

/**
 * @author Yinzhuoyi
 * @Description 工具类
 * @date 2020/5/12 15:44
 */
public class ApiUtils {


    public static String getLoginId()
    {
        String loginId = (String) StpUtil.getLoginId();
        return loginId;
    }

}
